package com.yochi.pictureseditor.effects.effectsimpl;

import com.yochi.pictureseditor.effects.EffectMozaic;
import com.yochi.pictureseditor.exceptions.NullImageException;
import com.yochi.pictureseditor.images.Image;

public class EffectSimpleMozaic extends EffectMozaic {

	public EffectSimpleMozaic(Image img) {
		super(img);
	}

	@Override
	public Image apply() throws NullImageException {
		Image image = cutSquare();
		image = process(image, image, image, image);
		return image;
	}
	
	@Override
	public String toString() {
		return "[EffectSimpleMozaic]";
	}

}
